package cn.iocoder.yudao.module.trade.convert.fruitcard;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo.FruitCardDetailCreateReqVO;
import cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo.FruitCardDetailExcelVO;
import cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo.FruitCardDetailRespVO;
import cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo.FruitCardDetailUpdateReqVO;
import cn.iocoder.yudao.module.trade.dal.mysql.fruitcard.FruitCardDetailDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 水果卡 Convert
 *
 * @author 管理员
 */
@Mapper
public interface FruitCardDetailConvert {

    FruitCardDetailConvert INSTANCE = Mappers.getMapper(FruitCardDetailConvert.class);

    FruitCardDetailDO convert(FruitCardDetailCreateReqVO bean);

    FruitCardDetailDO convert(FruitCardDetailUpdateReqVO bean);

    FruitCardDetailRespVO convert(FruitCardDetailDO bean);

    List<FruitCardDetailRespVO> convertList(List<FruitCardDetailDO> list);

    PageResult<FruitCardDetailRespVO> convertPage(PageResult<FruitCardDetailDO> page);

    List<FruitCardDetailExcelVO> convertList02(List<FruitCardDetailDO> list);

}
